package xhwl.insurance.http.api;

import okhttp3.RequestBody;
import rx.Observable;
import xhwl.insurance.http.ApiService;
import xhwl.retrofitrx.BaseApi;

/**
 * Created by admin on 2017-07-26.
 */

public class TestApi extends BaseApi {
    public TestApi(){
    }
    @Override
    protected Observable getObservable() {
        RequestBody requestBody = RequestBody.create(okhttp3.MediaType.parse("application/json; charset=utf-8"),"");
        return retrofit.create(ApiService.class).testList(requestBody);
    }

}
